home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Univers Interactif 3
/
INTERACTIF.BIN
/
pc
/
planeten
/
internet
/
macslip2.6up
/
MacSLIP Folder
/
Powerbook.samples
< prev
next >
Wrap
Text File
|
1995-01-11
|
694b
|
38 lines
#
# This script contains sample script code for
# dealing with the built in Apple modem in
# a Powerbook.
#
#
# This is the initialization string to use
# with a 2400 baud powerbook modem.
# Paste into the section of your script that
# initializes the modem.
#
setcount 0 0
label modeminit
flush
ifcountgt 0 3 return 0
send AT&D3B1E1H0M1N0Q0V1W1X4\r
{
ifmatch OK break
iftime 3 goto modeminit
}
#
# Come here when the "Disconnect" button is
# pressed. Force the modem to hang up the
# connection. Paste this into the section of
# your script that handles disconnecting or
# hanging up the modem.
#
label disconnect
dtr off
delay 5
send ath\r
dtr on
return 1